package com.office.meetingManage.meeting.model;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//会议信息
public class MeetingMessage {

    private String title;//会议主题
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date time;//开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date entime;//结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date outtime;//作废时间
    private String meetRoomPlace;//会议地址
    private String meetRoomName;//会议室
    private Integer meetingroomid;//会议室id
    private String name;//发起人
    private Integer meetid;//会议id
    private Integer sign;//有效标志0有效，1无效
    private Integer sporsonid;//发起人id

}
